<template>
    <div>
         <Header showLeft showRight fixed @handle-left="goBack"></Header>
    </div>
</template>
<script>
import Header from '@/component_basics/Header';
export default {
   components: { // 组件

    Header,
  },
  methods: {
    goBack() {
      window.history.length > 1
        ? this.$router.go(-1)
        : this.$router.push('/')
    }
  }
}
</script>
